import type { FormInstance } from 'antd';

export type Modify<T, R> = Omit<T, keyof R> & R;

export declare type RenderChildren = (form: FormInstance) => React.ReactNode;

export declare type ChildrenType =
  | React.ReactElement
  | RenderChildren
  | React.ReactElement[]
  | null;
